<?php

/* @var $this yii\web\View */

use yii\helpers\Html;

$this->title = '全市场销售量对比';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="site-cook_search">
<div>
    <?= Html::beginForm(['compare/adetailc',], 'post', []) ?>
    <?php
    $readonly=true;
    if(\Yii::$app->authManager->checkAccess(Yii::$app->user->id, 'admin'))
    {
        $readonly=false;
    }
    ?>
    <?= Html::label('航空公司', 'airline', []) ?>
    <?= Html::input('text', 'airline',$airline, ['id'=>'myairline','readonly'=>$readonly]) ?>
    <?= Html::submitButton('查询', ['class' => 'submit']) ?>
    <?= Html::endForm() ?>
</div>
</div>
